package org.example.trigger.api;

import org.example.trigger.api.dto.ActivityDrawRequestDTO;
import org.example.trigger.api.dto.ActivityDrawResponseDTO;
import org.example.types.model.Response;

public interface IRaffleActivityService {

    /**
     * 活动装配接口，数据预热缓存
     * @param activityId 活动id
     * @return 响应结果
     */
    Response<Boolean> aromry(Long activityId);

    /**
     * 活动抽奖接口
     * @param request 抽奖请求
     * @return 抽奖应答
     */
    Response<ActivityDrawResponseDTO>draw(ActivityDrawRequestDTO request);


}
